package com.mike.server.system.support.impl;

import com.mike.server.system.chat.ChatSupportImpl;
import com.mike.server.system.group.GroupSupportImpl;
import com.mike.server.system.mail.MailSupportImpl;
import com.mike.server.system.map.MapSupportImpl;
import com.mike.server.system.role.RoleSupportImpl;
import com.mike.server.system.support.IChatSupport;
import com.mike.server.system.support.IGroupSupport;
import com.mike.server.system.support.IRoleSupport;
import com.mike.server.system.support.ISystemSupportFactory;
import com.mike.server.system.support.IMailSupport;
import com.mike.server.system.support.IMapSupport;

public class DefaultSystemSupportFactory implements ISystemSupportFactory {

	@Override
	public IChatSupport getChatSupport() {
		return ChatSupportImpl.getInstanse();
	}

	@Override
	public IGroupSupport getGroupSupport() {
		return GroupSupportImpl.getInstance();
	}

	@Override
	public IMailSupport getMailSupport() {
		return MailSupportImpl.getInstance();
	}

	@Override
	public IMapSupport getMapSupport() {
		return MapSupportImpl.getInstance();
	}

	@Override
	public IRoleSupport getRoleSupport() {
		return RoleSupportImpl.getInstance();
	}

}
